@echo off

set scriptPath=%CD%
cd %scriptPath%\..\..\..
set base=%CD%

echo cloning repositories
rem git clone https://git.oschina.net/hxshandle/bpmn-js-demo-mail-task.git
echo done.
echo "base paht is %base%"
echo "link bpmn-js-demo-mail-task"
mklink /D %base%\bpm-web-editor-rappid-hank\node_modules\bpmn-js-demo-mail-task %base%\bpmn-js-demo-mail-task
echo %base%
cd %scriptPath%